<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>个人信息</title>
    <link rel="stylesheet" href="/element-ui/index.css">
    <script src="/element-ui/vue.js"></script>
    <script src="/element-ui/index.js"></script>
    <style>
        body { background: #f5f6fa; }
        #app { max-width: 500px; margin: 60px auto; background: #fff; border-radius: 16px; box-shadow: 0 4px 24px rgba(64,158,255,0.10); padding: 36px 32px; }
        .page-title { font-size: 22px; font-weight: bold; color: #409EFF; text-align: center; margin-bottom: 32px; letter-spacing: 2px; }
        .info-table { width: 100%; margin-bottom: 30px; border-radius: 12px; border-collapse: separate; border-spacing: 0; box-shadow: 0 2px 12px rgba(64,158,255,0.08); overflow: hidden; background: #fafdff; }
        .info-table td { padding: 16px 18px; font-size: 16px; }
        .info-table tr:not(:last-child) td { border-bottom: 1px solid #ebeef5; }
        .info-table td:first-child { width: 120px; font-weight: bold; background: #f7faff; color: #409EFF; letter-spacing: 1px; }
        .info-table tr:hover td { background: #f0f7ff; transition: background 0.2s; }
        .back-btn { background: #409EFF; color: #fff; border: none; border-radius: 8px; padding: 10px 36px; font-size: 16px; cursor: pointer; transition: background 0.2s, box-shadow 0.2s; box-shadow: 0 2px 8px rgba(64,158,255,0.10); }
        .back-btn:hover { background: #66b1ff; box-shadow: 0 4px 16px rgba(64,158,255,0.18); }
    </style>
</head>
<body>
<div id="app">
    <div class="page-title">个人信息</div>
    <table class="info-table">
        <tr>
            <td>用户名</td>
            <td th:text="${user.username}"></td>
        </tr>
        <tr>
            <td>真实姓名</td>
            <td th:text="${user.realName}"></td>
        </tr>
        <tr>
            <td>院系</td>
            <td th:text="${user.department}"></td>
        </tr>
        <tr>
            <td>手机号</td>
            <td th:text="${user.phone}"></td>
        </tr>
    </table>
    <div style="text-align: center;">
        <button class="back-btn" onclick="window.history.back()">返回</button>
    </div>
</div>
</body>
</html> 